package com.example.enjoylearning.login

import android.content.Context

/**
 * @Author ninetailedfox
 * @Data 2022/10/31 10:13 下午
 * @ClassName LoginModel
 **/
interface LoginModel {
    fun login(context: Context, username: String, password: String, onLoginListener: LoginPresenter.OnLoginListener)
    fun register(context: Context,username: String, password: String, repassword: String,onRegisterListener: LoginPresenter.OnRegisterListener)
}